|
|
|
|
|
|
|
Select Exit when COPY.MDB is created. Open your new replica in Visdata. Explore the properties of the new replica. Notice that you have all of the same tables. |
|
|
|
|
|
|
|
|
Now open the MSysReplicas table. When we first looked at this table in the Design Master, there was only one entry. Now there are two. Also note that the Description field for the new record is the same description you added in the MakeReplica method you executed earlier. (See Figure 12.13.) |
|
|
|
|
|
|
|
|
Figure 20.13.
The MSysReplicas table after creation of a replica. |
|
|
|
|
|
|
|
|
As you can see, it is quite easy to make a replica. A replica can be made out of any member of the replica set. For example, you could now create a third member of the set from either REPLMAST.MDB or COPY.MDB. |
|
|
|
|
|
|
|
|
Synchronizing Members of a Replica Set |
|
|
|
|
|
|
|
|
The act of making data in all members of the replica set identical is referred to as synchronizing data. In this exercise we make data changes to the Design Master and the replica you created in the previous exercise, and then perform a synchronization to apply the data changes to the other member of the replica set. |
|
|
|
|
|
|
|
|
Open COPY.MDB in Visdata. Next, open the Authors table. Add a few records to this table (make them up). Take note of how the s_Generation field resets to zero when you add a record. The zero tells the Jet engine that the record is ready to be copied during the next synchronization. |
|
|
|
|
|